﻿using Microsoft.Practices.Prism.Regions;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AddModule8.Views
{
    /// <summary>
    /// Interaction logic for AddModule8Button.xaml
    /// </summary>
    [Export]
    [ViewSortHint("08")]
    public partial class AddModule8Button : UserControl
    {
        [Import]
        public IRegionManager regionManager;

        private static Uri addModule8MainUri = new Uri("AddModule8MainView", UriKind.Relative);

        public AddModule8Button()
        {
            InitializeComponent();
        }

        private void NavigateToContactAddModuleRadioButton_Click(object sender, RoutedEventArgs e)
        {
            regionManager.RequestNavigate("MainContentRegion", addModule8MainUri);
        }
    }
}
